runtime.profAtomic.cas (method)

5 uses

	runtime (current package)
		profbuf.go#L124: func (x *profAtomic) cas(old, new profIndex) bool {
		profbuf.go#L383: 		if !b.w.cas(old, new) {
		profbuf.go#L411: 		if !b.w.cas(old, new) {
		profbuf.go#L487: 			b.w.cas(bw, bw&^profWriteExtra)
		profbuf.go#L497: 		if !b.w.cas(bw, bw|profReaderSleeping) {